/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lt.ntec.danblog.server.core.model.objectify;

import com.google.inject.servlet.ServletModule;
import lt.ntec.danblog.server.core.model.CommentFactory;
import lt.ntec.danblog.server.core.model.TagFactory;
import lt.ntec.danblog.server.core.model.User;
import lt.ntec.danblog.server.core.model.UserDAO;

/**
 *
 * @author Tadas Šubonis (tadas.subonis@affecto.com)
 */
public class ObjectifyCoreModelModule extends ServletModule {

    @Override
    protected void configureServlets() {

        bind(UserDAO.class).to(ObjectifyUserDAO.class);
        bind(User.class).to(ObjectifyUser.class);
        bind(TagFactory.class).to(ObjectifyTagFactory.class);
        bind(CommentFactory.class).to(ObjectifyCommentFactory.class);
    }

}
